home *** CD-ROM | disk | FTP | other *** search
- FORTUNE 08/03/89
-
-
- The original fortune program was neat, but it was slow, especially for a
- floppy system. I have a hard drive and used to copy the fortunes file
- to ram: for speed.
-
- Version 2.0 runs from 120 to 290% faster (I timed 100 passes for both
- versions) and now is quite usable for both hard-drive and floppy users.
-
- I must give some credit for the speed increase to Rick Stevens. He wrote
- a similar program called "cookie" that ramdomly displayed a fortune. I
- refined his selection method for my fortune program. Unlike his data file,
- the fortunes data file can be easily edited or added to.
-
- Like his program, the longer the first line of each fortune, the more likely
- it is to be selected. That is a slight trade off for speed over my earlier
- version.
-
- If you have an earlier version of fortune, be sure to replace the fortunes
- file too, it's gotten bigger since I uploaded fortune the first time.
-
- Feel free to delete, edit or add to the fortunes file that is enclosed. Just
- follow the syntax directions in the fortune.doc file. I have been collecting
- these fortunes for years and finally found a use for them. If you have a
- substantial file of your own, I would appreciate if you would send me a copy.
-
- 10/07/89
-
- Added the ability to add/change color to the lines of the displayed fortunes.
- Following the directions in the doc file, I suggest changing the escape
- value to a backslash instead of the default '*'. This is easier and follows
- the 'normal' UNIX syntax. Obtain the version of udate (date) and echo that
- I've written and they will all use the escape value that you set.
-
-
- 04/14/90
-
- Added voice by command line option (-s) and an icon which when clicked, will
- speak the fortune.
-
-
- George Kerber
- 19756 E. Linvale Drive
- Aurora, Colorado 80013
-
- Compuserve 74010,2132
-